package com.customer.feign.controller;

import com.customer.feign.service.TestFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @Autowired
    private TestFeignService service;

    @GetMapping("test")
    public String demo(){
        return service.getDemo();
    }

}
